.class public Lcom/xiaomi/notes/update/NotesVersionChecker;
.super Lcom/xiaomi/common/BasicVersionChecker;
.source "NotesVersionChecker.java"


# static fields
.field private static final ServerUrl:Ljava/lang/String; = "http://sj.xiaomi.com"


# instance fields
.field private mContext:Landroid/content/Context;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0
    .parameter "context"

    .prologue
    .line 15
    invoke-direct {p0}, Lcom/xiaomi/common/BasicVersionChecker;-><init>()V

    .line 16
    iput-object p1, p0, Lcom/xiaomi/notes/update/NotesVersionChecker;->mContext:Landroid/content/Context;

    .line 17
    return-void
.end method


# virtual methods
.method public getLocalizedText(I)Ljava/lang/CharSequence;
    .locals 2
    .parameter "key"

    .prologue
    .line 21
    packed-switch p1, :pswitch_data_0

    .line 35
    :pswitch_0
    const-string v0, ""

    :goto_0
    return-object v0

    .line 23
    :pswitch_1
    iget-object v0, p0, Lcom/xiaomi/notes/update/NotesVersionChecker;->mContext:Landroid/content/Context;

    const v1, 0x7f050008

    invoke-virtual {v0, v1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    goto :goto_0

    .line 25
    :pswitch_2
    iget-object v0, p0, Lcom/xiaomi/notes/update/NotesVersionChecker;->mContext:Landroid/content/Context;

    const v1, 0x7f050009

    invoke-virtual {v0, v1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    goto :goto_0

    .line 27
    :pswitch_3
    iget-object v0, p0, Lcom/xiaomi/notes/update/NotesVersionChecker;->mContext:Landroid/content/Context;

    const v1, 0x7f05000a

    invoke-virtual {v0, v1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    goto :goto_0

    .line 29
    :pswitch_4
    iget-object v0, p0, Lcom/xiaomi/notes/update/NotesVersionChecker;->mContext:Landroid/content/Context;

    const v1, 0x7f05000b

    invoke-virtual {v0, v1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    goto :goto_0

    .line 31
    :pswitch_5
    iget-object v0, p0, Lcom/xiaomi/notes/update/NotesVersionChecker;->mContext:Landroid/content/Context;

    const v1, 0x7f05000c

    invoke-virtual {v0, v1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    goto :goto_0

    .line 33
    :pswitch_6
    iget-object v0, p0, Lcom/xiaomi/notes/update/NotesVersionChecker;->mContext:Landroid/content/Context;

    const v1, 0x7f05000d

    invoke-virtual {v0, v1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    goto :goto_0

    .line 21
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_5
        :pswitch_6
    .end packed-switch
.end method

.method public getRemoteApkFileUrl(I)Ljava/lang/String;
    .locals 1
    .parameter "remoteVersion"

    .prologue
    .line 40
    const-string v0, "http://sj.xiaomi.com/notes/xmnotes.apk"

    return-object v0
.end method

.method public getVersionableFileUrl()Ljava/lang/String;
    .locals 1

    .prologue
    .line 45
    const-string v0, "http://sj.xiaomi.com/notes/android.xml?uuid=dev"

    return-object v0
.end method
